package com.koocloud.electroplatemanage.service;


import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.pojo.Process;

/**
 * @program: electroplatemanage
 * @description: 技术要求Service接口
 * @author: xxc
 * @create: 2020-11-16 10:01
 */
public interface ProcessService {

    //通过工单号查询一条技术要求数据
    ResponseTemplate selectByWorkOrderNumber(String workOrderNumber);

    //对技术要求信息进行全表查询
    ResponseTemplate selectAllData(String page, String limit, Process process);

    //新增一条数据
    ResponseTemplate insert(Process process,String userId);

    //逻辑删除一条记录
    ResponseTemplate delete(String id,String userId,String deleteFlag);

    //修改一条技术要求信息记录
    ResponseTemplate update(Process process, String userId);

    //查询所有表面处理过程
    ResponseTemplate selectProcess(String idOrName);

    //查询所有检验项目
    ResponseTemplate selectInspect();

    //技术要求确认按钮
    ResponseTemplate confirmEntryInfo(String workOrderNumber, String userId);
}
